package org.huntaway.kernel.mode.factory.method.test;

import org.huntaway.kernel.mode.factory.Car;
import org.huntaway.kernel.mode.factory.method.BenzDriver;
import org.huntaway.kernel.mode.factory.method.Driver;

public class Magnate {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		  try{ 
              Driver driver = new BenzDriver();
              Car car = driver.driverCar();
              car.drive();
       }catch(Exception e){
      	 
       }

	}

}
